% file: texsis.tex                              TeXsis version 2.15
% $Revision: 15.6 $  :  $Date: 92/08/03 23:24:37 $  :  $Author: myers $
%======================================================================*
% TeXsis - TeX Macros for Physicists   -- by Eric Myers and Frank E. Paige
%
%       This is version 2.15 of TeXsis, a collection of TeX macros
%  for physicists (and anyone else who finds them useful).
%
%       The source code for this format is contained in this file and
% in the files TXS*.tex \input by it.  The documentation is contained
% in the files TXS*.doc.  To produce a printed version of the
% documentation, run TeXsis on TXSdoc.doc.
%
% Eric Myers,  Physics Department, Yale University, Oct., 1984
%              Physics Department, Brookhaven National Laboratory, Feb., 1986
%              Physics Department, Boston University,  Dec. 1987
%              Physics Department, University of Texas, June 1992
% Frank Paige, Physics Department, Brookhaven National Laboratory, 1985
%              Physics Research Div., SSC Laboratory, June 1992
% ----------
% (C) copyright 1988, 1992 by Eric Myers and Frank Paige.
% Permission is granted to use this software by any member the 
% academic community in conjunction with basic research.  This software 
% may not be used or distributed for profit without permission.
%======================================================================*
%    This is the master file, which brings together all of the components
%  of TeXsis.  These should all be in the same directory.  This master file
%  can be used to generate TeXsis as a pre-loaded format using initex:
%       initex texsis              (or initex &plain texsis)
%  followed by "\dump".  See The TeXbook for more on INITEX and \dump.
%---------------------------------*
%  BEGIN: First check to see if the PLAIN format is pre-loaded.  
%  If \plainoutput is undefined then it is not, so read in plain.tex.
%
\ifx\plainoutput\undefined\input plain.tex\fi
%---------------------------------*
\let\Input=\input                               % \Input someday...
\def\TeXsis{\TeX sis}%                          % the TeXsis logo
%---------------------------------*
%  Fonts: TXSfonts contains the fonts we have at BNL.  There may be 
%  some changes necessary for your own instalation.  It's not a good
%  idea to just replace these though, because there is other info there 
%  too.  Read the comments in the file TXSfonts for further info.
%
\Input TXSfonts         % 12, 10, 7, 5, 14, 16 pt fonts, etc...
%=================================*
% Macros: different "packages" are kept in separate files
% 
\Input TXSinit          % initialization stuff and some basic macros
\Input TXSmacs          % main macros common to all components
\Input TXShead          % running headlines and footlines
\Input TXSeqns          % equation numbering 
\Input TXSprns          % automatic parentheses sizing and balancing
\Input TXSrefs          % references and citations
\Input TXSsects         % chapter and section divisions
\Input TXStags          % tags for ref and eqn numbers, \label-ing
\Input TXStitle         % title page macros for physics papers
\Input TXSenvmt         % center and flush environments, etc..
\Input TXSfmts          % document layouts, \paper, \preprint, etc
\Input TXSfigs          % figure, tables, lists of figures
\Input TXSruled         % ruled tables
\Input TXSdcol          % double column format
\Input TXSletr          % letter format
\Input TXSform          % form letters
\Input TXSmemo          % memos and referee reports
\Input TXSconts         % table of contents macros
\Input TXSsymb          % extended math symbols for physics
%---------------------------------*
%       Patches and Changes: The two files named below will be read 
% AT RUN TIME by \texsis, if they exist.  See the file TXSinit.tex 
% for more info.
%
\def\TeXsisLib{}%                               % library for texsis 
\def\TXSpatches{\TeXsisLib TXSpatch}%       % file for run-time patches
\def\TXSmods{TXSmods}%                      % local or personal mods
%---------------------------------*
%       Site dependent info:  See if there is a site info file out
% there called TXSsite.tex.  If so, read it in.  This happens only once 
% when running INITEX to create the format file texsis.fmt.
%                                      
\immediate\openin\patchfile=TXSsite.tex         % try to open patch file
\ifeof\patchfile                                % is it EOF?  Then not there
   \closein\patchfile                           % so just close it.
   \emsg{> No Site Info file TXSsite.tex.}%     % tell them.
\else\immediate\closein\patchfile               % close it to read with \input
   \Input TXSsite.tex \relax                    % \input the site info
\fi                                    
%---------------------------------*
\tenpoint                                       % as in Plain TeX
\singlespaced                                   % default until \texsis
\pageno = 1                                     % start on page 1
%
\def\fmtname{TeXsis}\def\fmtversion{2.15}% 
\def\revdate{3 August 1992}%
\everyjob={%                                    % This stuff is done every job
   \emsg{\fmtname\space version \fmtversion\space format preloaded.}%
   \SetDate                                     % set \adate and \edate
   \ReadPatches                                 % read patch file, if it exists
   \ReadAUX                                     % read .aux file, if it exists
   \colwidth=\hsize                             % default column width
   }
\ATlock                                         % lock @ macros
\emsg{\fmtname\space version \fmtversion\space loaded.}%
%
%>>> EOF texsis.tex <<<
